package com.qianyucc.guishi.model.enums;

/**
 * @author lijing
 * @e-mail 1413979079@qq.com
 * @date 2020-01-27 19:22
 * @description
 */
public enum CustomizeErrorCode {
    USER_NOT_FOUND(2001, "找不到该用户"),
    INVALID_COUNTDOWN_ID(2002, "倒计时id不存在"),
    INVALID_PLAN_ID(2003, "计划id不存在"),
    ;
    private Integer code;
    private String message;

    CustomizeErrorCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
